export interface Ilistparams {
  page: number,
  limit: number,
  name: string,
  roles: string,
  status: 0 | 1 | ''
}

export interface IlistResponse {
  id: number
  account: string
  head_pic: string
  pwd: string
  real_name: string
  roles: string
  last_ip: string
  last_time: number
  add_time: number
  login_count: number
  level: number
  status: number
  is_del: number
  _add_time: string
  _last_time: string
  statusLoading?: boolean
}

export interface IaddBodyadmin {
  account: string,
  pwd: string,
  conf_pwd: string,
  roles: number [],
  status: number,
  real_name: string
}

export interface IBodyupdateAminInfo {
  real_name: String,
  head_pic: String,
  pwd: String,
  new_pwd: String,
  conf_pwd: String
}
